package com.youkeyi.ddy.cloud.basic.storage.vaccinum.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 疫苗商品表
 * </p>
 *
 * @author xiawang.liu
 * @since 2024-04-18
 */
@TableName("tbl_goods_vaccinum")
public class TblGoodsVaccinum extends Model<TblGoodsVaccinum> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("primary_key")
    private String primaryKey;

    /**
     * 解决并发更新问题,每次更新需要用 uuid 做比较判断数据是否已变更
     */
    @TableField("uuid")
    private String uuid;

    /**
     * 旧的uuid,mybatis 更新时需要
     */
    @TableField("old_uuid")
    private String oldUuid;

    /**
     * 归属主体
     */
    @TableField("corp_key")
    private String corpKey;

    /**
     * 商品名称
     */
    @TableField("name")
    private String name;

    /**
     * 商品别名
     */
    @TableField("alias_name")
    private String aliasName;

    /**
     * 关键字 供前端查询
     */
    @TableField("key_word")
    private String keyWord;

    /**
     * 分类key
     */
    @TableField("category_key")
    private String categoryKey;

    /**
     * 分类名称
     */
    @TableField("category_name")
    private String categoryName;

    /**
     * 接种人群
     */
    @TableField("vaccination_population")
    private String vaccinationPopulation;

    /**
     * 接种方式
     */
    @TableField("vaccination_method")
    private String vaccinationMethod;

    /**
     * 疫苗价格
     */
    @TableField("prices")
    private BigDecimal prices;

    /**
     * 疫苗成本
     */
    @TableField("cost")
    private BigDecimal cost;

    /**
     * 保存方式
     */
    @TableField("save_environment")
    private String saveEnvironment;

    /**
     * 有效期
     */
    @TableField("validity_period")
    private Integer validityPeriod;

    /**
     * 接种计划频率
     */
    @TableField("vaccination_frequency")
    private Integer vaccinationFrequency;

    /**
     * 接种计划1
     */
    @TableField("plan_one")
    private Integer planOne;

    /**
     * 接种计划2
     */
    @TableField("plan_two")
    private Integer planTwo;

    /**
     * 接种计划3
     */
    @TableField("plan_three")
    private Integer planThree;

    /**
     * 接种计划4
     */
    @TableField("plan_four")
    private Integer planFour;

    /**
     * 接种计划5
     */
    @TableField("plan_five")
    private Integer planFive;

    /**
     * 商品条码
     */
    @TableField("bar_code")
    private String barCode;

    /**
     * 商品二维码
     */
    @TableField("qr_code")
    private String qrCode;

    /**
     * 商品第三方唯一标识key(政府机构数据管理唯一主键，如药监局)
     */
    @TableField("third_party_identification_key")
    private String thirdPartyIdentificationKey;

    /**
     * 商品标识码(政府机构识别商品 标识码，如药监局)
     */
    @TableField("identification")
    private String identification;

    /**
     * 商品图片路径
     */
    @TableField("path")
    private String path;

    /**
     * 生产厂商
     */
    @TableField("manufacturer")
    private String manufacturer;

    /**
     * 生产许可证
     */
    @TableField("production_license")
    private String productionLicense;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 是否删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;

    /**
     * 创建人
     */
    @TableField("create_user_key")
    private String createUserKey;

    /**
     * 创建人名称
     */
    @TableField("create_user_name")
    private String createUserName;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField("update_user_key")
    private String updateUserKey;

    /**
     * 更新人名称
     */
    @TableField("update_user_name")
    private String updateUserName;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
    public String getOldUuid() {
        return oldUuid;
    }

    public void setOldUuid(String oldUuid) {
        this.oldUuid = oldUuid;
    }
    public String getCorpKey() {
        return corpKey;
    }

    public void setCorpKey(String corpKey) {
        this.corpKey = corpKey;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }
    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }
    public String getCategoryKey() {
        return categoryKey;
    }

    public void setCategoryKey(String categoryKey) {
        this.categoryKey = categoryKey;
    }
    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
    public String getVaccinationPopulation() {
        return vaccinationPopulation;
    }

    public void setVaccinationPopulation(String vaccinationPopulation) {
        this.vaccinationPopulation = vaccinationPopulation;
    }
    public String getVaccinationMethod() {
        return vaccinationMethod;
    }

    public void setVaccinationMethod(String vaccinationMethod) {
        this.vaccinationMethod = vaccinationMethod;
    }
    public BigDecimal getPrices() {
        return prices;
    }

    public void setPrices(BigDecimal prices) {
        this.prices = prices;
    }
    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }
    public String getSaveEnvironment() {
        return saveEnvironment;
    }

    public void setSaveEnvironment(String saveEnvironment) {
        this.saveEnvironment = saveEnvironment;
    }
    public Integer getValidityPeriod() {
        return validityPeriod;
    }

    public void setValidityPeriod(Integer validityPeriod) {
        this.validityPeriod = validityPeriod;
    }
    public Integer getVaccinationFrequency() {
        return vaccinationFrequency;
    }

    public void setVaccinationFrequency(Integer vaccinationFrequency) {
        this.vaccinationFrequency = vaccinationFrequency;
    }
    public Integer getPlanOne() {
        return planOne;
    }

    public void setPlanOne(Integer planOne) {
        this.planOne = planOne;
    }
    public Integer getPlanTwo() {
        return planTwo;
    }

    public void setPlanTwo(Integer planTwo) {
        this.planTwo = planTwo;
    }
    public Integer getPlanThree() {
        return planThree;
    }

    public void setPlanThree(Integer planThree) {
        this.planThree = planThree;
    }
    public Integer getPlanFour() {
        return planFour;
    }

    public void setPlanFour(Integer planFour) {
        this.planFour = planFour;
    }
    public Integer getPlanFive() {
        return planFive;
    }

    public void setPlanFive(Integer planFive) {
        this.planFive = planFive;
    }
    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }
    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }
    public String getThirdPartyIdentificationKey() {
        return thirdPartyIdentificationKey;
    }

    public void setThirdPartyIdentificationKey(String thirdPartyIdentificationKey) {
        this.thirdPartyIdentificationKey = thirdPartyIdentificationKey;
    }
    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }
    public String getProductionLicense() {
        return productionLicense;
    }

    public void setProductionLicense(String productionLicense) {
        this.productionLicense = productionLicense;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
    public String getCreateUserKey() {
        return createUserKey;
    }

    public void setCreateUserKey(String createUserKey) {
        this.createUserKey = createUserKey;
    }
    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUserKey() {
        return updateUserKey;
    }

    public void setUpdateUserKey(String updateUserKey) {
        this.updateUserKey = updateUserKey;
    }
    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TblGoodsVaccinum{" +
            "id=" + id +
            ", primaryKey=" + primaryKey +
            ", uuid=" + uuid +
            ", oldUuid=" + oldUuid +
            ", corpKey=" + corpKey +
            ", name=" + name +
            ", aliasName=" + aliasName +
            ", keyWord=" + keyWord +
            ", categoryKey=" + categoryKey +
            ", categoryName=" + categoryName +
            ", vaccinationPopulation=" + vaccinationPopulation +
            ", vaccinationMethod=" + vaccinationMethod +
            ", prices=" + prices +
            ", cost=" + cost +
            ", saveEnvironment=" + saveEnvironment +
            ", validityPeriod=" + validityPeriod +
            ", vaccinationFrequency=" + vaccinationFrequency +
            ", planOne=" + planOne +
            ", planTwo=" + planTwo +
            ", planThree=" + planThree +
            ", planFour=" + planFour +
            ", planFive=" + planFive +
            ", barCode=" + barCode +
            ", qrCode=" + qrCode +
            ", thirdPartyIdentificationKey=" + thirdPartyIdentificationKey +
            ", identification=" + identification +
            ", path=" + path +
            ", manufacturer=" + manufacturer +
            ", productionLicense=" + productionLicense +
            ", remark=" + remark +
            ", isDeleted=" + isDeleted +
            ", createUserKey=" + createUserKey +
            ", createUserName=" + createUserName +
            ", createTime=" + createTime +
            ", updateUserKey=" + updateUserKey +
            ", updateUserName=" + updateUserName +
            ", updateTime=" + updateTime +
        "}";
    }
}
